<extend name="Base:base" />
<block name="title">{$title}</block>
<block name="content">
    <form action="" method="post">
        <table class="table">
            <tr>
                <th colspan="2">修改节点</th>
            </tr>
            <tr>
                <td align="right">{$type}名称</td>
                <td>
                    <input type="text" name="name" value="{$node.name}"/>
                </td>
            </tr>
            <tr>
                <td align="right">{$type}描述</td>
                <td>
                    <input type="text" name="title" value="{$node.title}" />
                </td>
            </tr>
            <tr>
                <td align="right">是否开启</td>
                <td>
                <input type="radio" name="status" value="1" <if condition="$node.status eq 1">checked="checked"</if> />&nbsp;开启&nbsp;
                    <input type="radio" name="status" value="0" <if condition="$node.status eq 0">checked="checked"</if> />关闭
                </td>
            </tr>
            <tr>
                <td align="right">排序</td>
                <td>
                    <input type="text" name="sort"  value="{$node.sort}"/>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="right">
                    <input type="hidden" name="id" value="{$node.id}" />
                    <input type="hidden" name="level" value="{$level}"/>
                    <input type="submit" value="保存修改" />
                </td>
            </tr>
        </table>
    </form>
</block>
